import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import store from './store/index.js';
import { toast, loading, copy, pay, mustLogin, Calc } from "./common/utils/utils.js";
Vue.prototype.$Toast = toast.toast;
Vue.prototype.$ShowLoading = loading.showLoading;
Vue.prototype.$HideLoading = loading.hideLoading;
Vue.prototype.$copy = copy.copy;
Vue.prototype.$wxPayment = pay.wxPayment; 
Vue.prototype.$aliPayment = pay.aliPayment; 
Vue.prototype.$calc = Calc; 
Vue.prototype.mustLogin = mustLogin; 
import mixin from './common/mixins/mixin.js'
Vue.mixin(mixin)
// #ifndef MP
import { baseUrl, baseImgUrl } from './api/app.js'
Vue.prototype.$_baseUrl = baseUrl
Vue.prototype.$_BASE_IMG_API = baseImgUrl
// #endif
import uView from "uview-ui";
Vue.use(uView);
Vue.config.productionTip = false
// 定义特性标志
window.__VUE_PROD_DEVTOOLS__ = false
window.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = false
App.mpType = 'app'

const app = new Vue({
  ...App
})
app.$mount()
